package com.cskaoyan.bean.wx;

import lombok.Data;

import java.util.List;

/**
 * @program: project-two
 * @description:
 * @author: YuHui
 * @create: 2021-08-16 00:09
 **/
@Data
public class WxBaseData<T> {

    List<T> data;
    long count;

    public static <T> WxBaseData<T> ok(List<T> data,long count){
        WxBaseData<T> tBaseData = new WxBaseData<>();
        tBaseData.setCount(count);
        tBaseData.setData(data);
        return tBaseData;
    }
}
